package com.ccdt.tv.smartrecommend.model.http;


import com.ccdt.tv.smartrecommend.model.bean.ResponseBean;

import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Query;
import rx.Observable;

/**
 * Created width Android Studio
 * User:StormSun
 * Date:2017/1/13
 * Time:15:33
 * Description:
 */
public interface ApiService {
//    @GET("user/search.do")
//    Observable<User> getUser(@Query("userId") String uId);
//    @GET("user/names")
//    Observable<OneNameList> getNames();

    @POST(Config.URL_LIVE_RECOMMEND)
    Observable<ResponseBean> getLiveRecommend(@Query("sn") String sn,
                                              @Query("areaCode") String areaCode,
                                              @Query("sid") String sid);
    @GET(Config.URL_HIT_CHANNELS)
    Observable<ResponseBean> gethitChannels(@Query("sn") String sn,
                                            @Query("areaCode") String areaCode,
                                            @Query("sid") String sid);
}

